<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Fans</title>
    <meta name="description" content="The Fans app REST API docs.">
    <link rel="shortcut icon" href="/docs/favicon.ico">
  <link rel="icon" href="/docs/fans.svg">
  <link rel="mask-icon" href="/docs/fans.svg">
    
    <link rel="preload" href="/docs/assets/css/0.styles.96586f63.css" as="style"><link rel="preload" href="/docs/assets/js/app.adb254f4.js" as="script"><link rel="preload" href="/docs/assets/js/2.0613674a.js" as="script"><link rel="preload" href="/docs/assets/js/5.19f5b095.js" as="script"><link rel="prefetch" href="/docs/assets/js/10.443b0da9.js"><link rel="prefetch" href="/docs/assets/js/11.5914f244.js"><link rel="prefetch" href="/docs/assets/js/12.7e19e4ef.js"><link rel="prefetch" href="/docs/assets/js/13.bf31197c.js"><link rel="prefetch" href="/docs/assets/js/14.325025c5.js"><link rel="prefetch" href="/docs/assets/js/15.fe04ddd5.js"><link rel="prefetch" href="/docs/assets/js/16.db0ffebf.js"><link rel="prefetch" href="/docs/assets/js/3.f7ca2ebe.js"><link rel="prefetch" href="/docs/assets/js/4.c9eaa668.js"><link rel="prefetch" href="/docs/assets/js/6.28cd1744.js"><link rel="prefetch" href="/docs/assets/js/7.407974dd.js"><link rel="prefetch" href="/docs/assets/js/8.5d06e407.js"><link rel="prefetch" href="/docs/assets/js/9.08fd7d8a.js">
    <link rel="stylesheet" href="/docs/assets/css/0.styles.96586f63.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container no-sidebar"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/docs/" class="home-link router-link-exact-active router-link-active"><!----> <span class="site-name">Fans</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/docs/" class="nav-link router-link-exact-active router-link-active">Home</a></div><div class="nav-item"><a href="/docs/api/" class="nav-link">Docs</a></div><div class="nav-item"><a href="https://github.com/medz/fans" target="_blank" rel="noopener noreferrer" class="nav-link external">
  GitHub
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/docs/" class="nav-link router-link-exact-active router-link-active">Home</a></div><div class="nav-item"><a href="/docs/api/" class="nav-link">Docs</a></div><div class="nav-item"><a href="https://github.com/medz/fans" target="_blank" rel="noopener noreferrer" class="nav-link external">
  GitHub
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav>  <!----> </aside> <main aria-labelledby="main-title" class="home"><header class="hero"><img src="/docs/fans.svg" alt="hero"> <h1 id="main-title">Fans 2</h1> <p class="description">
      Dragonfly fly on the water, Socialize with Fans!
    </p> <p class="action"><a href="/docs/api/" class="nav-link action-button">read docs →</a></p></header> <div class="features"><div class="feature"><h2>Front and rear separation</h2> <p>Fans adopts a front-end and back-end separation. The back-end focuses on service content production, and the front-end focuses on UI rendering to achieve better UX.</p></div><div class="feature"><h2>REST APIs + Docs</h2> <p>APIs are designed with REST and update APIs documentation with version synchronization to ensure good readability and timeliness!</p></div><div class="feature"><h2>Strict PHP 7 + Latest Laravel</h2> <p>Use PHP 7 and above and turn on strict mode to make the code more efficient. The PHP 7 + Laravel framework enables elegant development and highly maintainable code.</p></div></div> <div class="custom content default"><h3 id="apis-preview"><a href="#apis-preview" aria-hidden="true" class="header-anchor">#</a> APIs Preview</h3> <div class="language-txt extra-class"><pre class="language-text"><code>+--------+----------------------------------------+-------------------------------------+------------------+-------------------------------------------------------------------+------------+
| Domain | Method                                 | URI                                 | Name             | Action                                                            | Middleware |
+--------+----------------------------------------+-------------------------------------+------------------+-------------------------------------------------------------------+------------+
|        | GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS | /                                   |                  | Illuminate\Routing\RedirectController                             | web        |
|        | POST                                   | auth/jwt                            |                  | App\Http\Controllers\AuthController@resolve                       | api        |
|        | GET|HEAD                               | auth/me                             |                  | App\Http\Controllers\UserController@show                          | api,auth   |
|        | POST                                   | auth/verify-code                    |                  | App\Http\Controllers\AuthController@sendPhoneVerifyCode           | api        |
|        | POST                                   | comments                            | comments.store   | App\Http\Controllers\CommentController@store                      | api,auth   |
|        | GET|HEAD                               | comments                            | comments.index   | App\Http\Controllers\CommentController@index                      | api        |
|        | DELETE                                 | comments/{comment}                  | comments.destroy | App\Http\Controllers\CommentController@destroy                    | api,auth   |
|        | POST                                   | forum/nodes                         | nodes.store      | App\Http\Controllers\ForumNodeController@store                    | api,auth   |
|        | GET|HEAD                               | forum/nodes                         | nodes.index      | App\Http\Controllers\ForumNodeController@index                    | api        |
|        | DELETE                                 | forum/nodes/{node}                  | nodes.destroy    | App\Http\Controllers\ForumNodeController@destroy                  | api,auth   |
|        | PUT|PATCH                              | forum/nodes/{node}                  | nodes.update     | App\Http\Controllers\ForumNodeController@update                   | api,auth   |
|        | GET|HEAD                               | forum/nodes/{node}                  | nodes.show       | App\Http\Controllers\ForumNodeController@show                     | api        |
|        | POST                                   | forum/nodes/{node}/threads          |                  | App\Http\Controllers\ForumThreadController@store                  | api,auth   |
|        | PUT                                    | forum/nodes/{node}/threads/{thread} |                  | App\Http\Controllers\ForumThreadController@transform              | api,auth   |
|        | GET|HEAD                               | forum/threads                       | threads.index    | App\Http\Controllers\ForumThreadController@index                  | api        |
|        | DELETE                                 | forum/threads/{thread}              | threads.destroy  | App\Http\Controllers\ForumThreadController@destroy                | api,auth   |
|        | GET|HEAD                               | forum/threads/{thread}              | threads.show     | App\Http\Controllers\ForumThreadController@show                   | api        |
|        | PUT|PATCH                              | forum/threads/{thread}              | threads.update   | App\Http\Controllers\ForumThreadController@update                 | api,auth   |
|        | GET|HEAD                               | international-telephone-codes       |                  | App\Http\Controllers\InternationalTelephoneCodeController@index   | api        |
|        | POST                                   | international-telephone-codes       |                  | App\Http\Controllers\InternationalTelephoneCodeController@store   | api,auth   |
|        | DELETE                                 | international-telephone-codes/{id}  |                  | App\Http\Controllers\InternationalTelephoneCodeController@destroy | api,auth   |
|        | PATCH                                  | international-telephone-codes/{ttc} |                  | App\Http\Controllers\InternationalTelephoneCodeController@update  | api,auth   |
|        | GET|HEAD                               | jurisdictions                       |                  | App\Http\Controllers\JurisdictionController@nodes                 | api,auth   |
|        | POST                                   | talks                               | talks.store      | App\Http\Controllers\TalkController@store                         | api,auth   |
|        | GET|HEAD                               | talks                               | talks.index      | App\Http\Controllers\TalkController@index                         | api        |
|        | DELETE                                 | talks/{talk}                        | talks.destroy    | App\Http\Controllers\TalkController@destroy                       | api,auth   |
|        | GET|HEAD                               | talks/{talk}                        | talks.show       | App\Http\Controllers\TalkController@show                          | api        |
|        | POST                                   | upload                              |                  | App\Http\Controllers\StorageController                            | api,auth   |
|        | GET|HEAD                               | users                               |                  | App\Http\Controllers\UserController@index                         | api        |
|        | GET|HEAD                               | users/{user}                        |                  | App\Http\Controllers\UserController@show                          | api        |
|        | PUT                                    | users/{user}/jurisdictions          |                  | App\Http\Controllers\JurisdictionController@sync                  | api,auth   |
|        | DELETE                                 | users/{user}/jurisdictions/{node}   |                  | App\Http\Controllers\JurisdictionController@detach                | api,auth   |
|        | PUT                                    | users/{user}/jurisdictions/{node}   |                  | App\Http\Controllers\JurisdictionController@attach                | api,auth   |
+--------+----------------------------------------+-------------------------------------+------------------+-------------------------------------------------------------------+------------+
</code></pre></div></div> <div class="footer">
    Apache-2.0 Licensed | Copyright © 2019-present Seven Du
  </div></main></div><div class="global-ui"></div></div>
    <script src="/docs/assets/js/app.adb254f4.js" defer></script><script src="/docs/assets/js/2.0613674a.js" defer></script><script src="/docs/assets/js/5.19f5b095.js" defer></script>
  </body>
</html>
